<?php
defined('APPLICATION_ENV')
    || define('APPLICATION_ENV', 'shanghai-dev');

defined('ORIGINAL_UPLOAD_PATH')
        || define('ORIGINAL_UPLOAD_PATH', PUBLIC_PATH . '/images/photo/original/shanghai');


defined('SOLR_PORT')
    || define('SOLR_PORT', 9984);
defined('SOLR_HOST')
    || define('SOLR_HOST', 'localhost');

defined('MONGO_PORT')
    || define('MONGO_PORT', 27017);
defined('MONGO_HOST')
    || define('MONGO_HOST', 'localhost');

defined('CACHING_ENABLED')
    || define('CACHING_ENABLED', false);

defined('MOBILE_DOMAIN')
    || define('MOBILE_DOMAIN', 'm.shanghai.beta1.maozhao.com');

defined('API_HOSTNAME')
    || define('API_HOSTNAME', 'api.shanghai.beta1.maozhao.com');

defined('SHARED_ACCOUNTS_ENV')
    || define('SHARED_ACCOUNTS_ENV', 'account');    

define('DISPLAY_DEBUG', true);
define('IS_LIVE', false);

define('CURRENT_CITY', 'shanghai');
define('CURRENT_CITY_ID', CITY_SHANGHAI);
define('CURRENT_CITY_NAME', '上海');
define('REGULAR_DOMAIN', 'shanghai.dev.beta1.maozhao.com');
define('MEDIUM_DATE_FORMAT', 'Y年m月d日');
define('ENTIRE_CITY', '4eeae63be62d6c5978000000');
define('ONLINE_ONLY_AREA', '4ca45512e6ce42ff5b050000');
define('RESIDENTIAL_FOR_RENT', '4e40b5d59ad3e56dd6c319ee');
define('RESIDENTIAL_FOR_SALE', '4e40b6289ad3e56dd6c319f2');
define('COMMERCIAL_FOR_RENT', '4e40b6c79ad3e56dd6c319f3');
define('COMMERCIAL_FOR_SALE', '4e40b5d59ad3e56dd6c319ed');
define('CAR_CATEGORY', '4e40b6e19ad3e56dd6c31a1a');
define('MOTORCYCLE_CATEGORY', '4e40b6e19ad3e56dd6c31a1e');
define('BIKE_CATEGORY', '4e40b6e39ad3e56dd6c31a2a');
define('PET_CATEGORY', '4cda3e818835c16810770100');
define('FASHION_CATEGORY', '4e40b5d09ad3e56dd6c319e3');
define('ELECTRONIC_CATEGORY', '4cda3e818835c16810c80200');
define('HEALTH_CATEGORY', '4cda3e818835c16810550200');
define('BUSINESS_DIRECTORY_CATEGORY', '4cda3e818835c16810e40000');

$config_image_server = array('http://asset1.shanghai.john.beta1.maozhao.com', 'http://asset1.shanghai.john.beta1.maozhao.com',);
